class Group < ActiveRecord::Base
  has_and_belongs_to_many :users
  has_many :members

  # active_scaffold callbacks: authorized_for_crud
  def authorized_for_create?
    true
  end

  def authorized_for_read?
    true
  end

  def authorized_for_update?
    true
  end

  def authorized_for_destroy?
    true
  end

  # human names
  ModelName = "小组"
  ColumnNames ={
    :name => "小组名称"
  }
end
